package com.example.health_life.service;


import com.example.health_life.dao.MyCourse;

import java.util.List;

public interface MyCourseService {


    List<MyCourse> getMyCourseList(Integer status);

    MyCourse getMyCourseById(Integer id);

    List<MyCourse> getMyCourseByUserId(Integer userId, Integer status);

    Integer addMyCourse(MyCourse myCourse);

    Integer deleteMyCourse(Integer id);

    Integer getMyCourseStatusByUserIdAndCourseId(Integer userId, Integer courseId);
}
